<html>
<head>Test</head>
<body>
<div>
    Test result1: <span id="r1">${myFunc()}</span>
</div>
<div>
    Test result2: <span id="r2">${myFunc()}</span>
</div>
</body>
</html>